<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>{{#useGenericHost}}
    <GenerateAssemblyInfo>true</GenerateAssemblyInfo> <!-- setting GenerateAssemblyInfo to false causes this bug https://github.com/dotnet/project-system/issues/3934 -->{{/useGenericHost}}{{^useGenericHost}}
    <GenerateAssemblyInfo>false</GenerateAssemblyInfo><!-- setting GenerateAssemblyInfo to false causes this bug https://github.com/dotnet/project-system/issues/3934 -->{{/useGenericHost}}
    <TargetFramework{{#multiTarget}}s{{/multiTarget}}>{{targetFramework}}</TargetFramework{{#multiTarget}}s{{/multiTarget}}>
    <AssemblyName>{{packageName}}</AssemblyName>
    <PackageId>{{packageName}}</PackageId>
    <OutputType>Library</OutputType>
    <PackageIcon>logo.png</PackageIcon>
    <Authors>{{packageAuthors}}</Authors>
    <Company>{{packageCompany}}</Company>
    <AssemblyTitle>{{packageTitle}}</AssemblyTitle>
    <Description>{{packageDescription}}</Description>
    <Copyright>{{packageCopyright}}</Copyright>
    <RootNamespace>{{packageName}}</RootNamespace>
    <Version>{{packageVersion}}</Version>
    <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\{{packageName}}.xml</DocumentationFile>{{#licenseId}}
    <PackageLicenseExpression>{{.}}</PackageLicenseExpression>{{/licenseId}}
    <PackageReadmeFile>README.md</PackageReadmeFile>
    <RepositoryUrl>https://{{{gitHost}}}/{{{gitUserId}}}/{{{gitRepoId}}}</RepositoryUrl>
    <RepositoryType>git</RepositoryType>{{#releaseNote}}
    <PackageReleaseNotes>{{.}}</PackageReleaseNotes>{{/releaseNote}}{{#packageTags}}
    <PackageTags>{{{.}}}</PackageTags>{{/packageTags}}{{#nrt}}
    <Nullable>{{#useGenericHost}}enable{{/useGenericHost}}{{^useGenericHost}}annotations{{/useGenericHost}}</Nullable>{{/nrt}}
  </PropertyGroup>

  <ItemGroup>
    {{#useCompareNetObjects}}
    <PackageReference Include="CompareNETObjects" Version="4.61.0" />
    {{/useCompareNetObjects}}
    {{^useGenericHost}}
    <PackageReference Include="JsonSubTypes" Version="1.9.0" />
    <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
    {{/useGenericHost}}
      {{#useRestSharp}}
    <PackageReference Include="RestSharp" Version="111.2.0" />
      {{/useRestSharp}}
      {{#useGenericHost}}
    <PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0" />
      {{#supportsRetry}}
    <PackageReference Include="Microsoft.Extensions.Http.Polly" Version="5.0.1" />
      {{/supportsRetry}}
      {{/useGenericHost}}
      {{#supportsRetry}}
    <PackageReference Include="Polly" Version="7.2.3" />
      {{/supportsRetry}}
    {{#validatable}}
    <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
    {{/validatable}}
  </ItemGroup>

  <ItemGroup>
    <None Remove="System.Web" />
    {{#net48}}
    <None Remove="System.Net.Http" />
    {{/net48}}
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Web" />
    {{#net48}}
    <Reference Include="System.Net.Http" />
    {{/net48}}
  </ItemGroup>

  <ItemGroup>
      <None Include="..\..\logo.png" Pack="true" PackagePath="" />
      <None Include="..\..\README.md" Pack="true" PackagePath="" />
  </ItemGroup>

</Project>
